package com.oocl.service.impl;

import java.util.List;

import com.oocl.dao.UserDao;
import com.oocl.dao.impl.UserDaoImpl;
import com.oocl.pojo.User;
import com.oocl.service.UserService;

public class UserServiceImpl implements UserService{
	private UserDao userDao = new UserDaoImpl();

	public int addUser(User user) {
		return userDao.addUser(user);
	}

	public List<User> findAll() {
		return userDao.findAll();
	}

}
